package com.quartet.modules.file.entity;

import java.time.LocalDateTime;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 本地存储(ToolLocalStorage)表实体类
 *
 * @author makejava
 * @since 2021-06-14 21:56:11
 */
@Data
@NoArgsConstructor
public class ToolLocalStorage extends Model<ToolLocalStorage> {
    //ID
    @TableId(type = IdType.AUTO)
    private Long storageId;
    //文件真实的名称
    private String realName;
    //文件名
    private String name;
    //后缀
    private String suffix;
    //路径
    private String path;
    //类型
    private String type;
    //大小
    private String size;
    //客户编码
    private String customerCode;
    //流量卡号
    private String flowCardNumber;
    //备注
    private String remarks;
    //创建者
    private String createBy;
    //更新者
    private String updateBy;
    //创建日期
    private LocalDateTime createTime;
    //更新时间
    private LocalDateTime updateTime;

    public ToolLocalStorage(String realName,String name, String suffix, String path, String type, String size,String customerCode,String remarks) {
        this.realName = realName;
        this.name = name;
        this.suffix = suffix;
        this.path = path;
        this.type = type;
        this.size = size;
        this.customerCode = customerCode;
        this.remarks = remarks;
    }
}
